home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17308 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.th-darmstadt.de!news
  2. From: Enno Sandner <enno@intellektik.informatik.th-darmstadt.de>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: int::~int()
  5. Date: Mon, 15 Apr 1996 09:32:59 +0200
  6. Organization: Fachbereich Informatik, TH Darmstadt
  7. Message-ID: <3171FBAB.794BDF32@intellektik.informatik.th-darmstadt.de>
  8. References: <317083F7.116E@public.sta.net.cn> <ltlojzns3u.fsf@kitz.inferenzsysteme.informatik.th-darmstadt.de> <31719B53.402D@public.sta.net.cn>
  9. NNTP-Posting-Host: kitz.intellektik.informatik.th-darmstadt.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (X11; I; SunOS 4.1.3 sun4m)
  14.  
  15. jafd@public.sta.net.cn wrote:
  16. > Enno Sandner wrote:
  17. > ...
  18. > > It's legal C++ (check out DWP 12.4:12) and e.g. g++2.6.3
  19. > > compiles this code without any problems.
  20. > > The explicit invocation of the int-dtor has no effect.
  21. > >
  22. > >         Enno
  23. > I found that both Borland C++ 4.x and Visual C++ 4.0 can't
  24. > compile it!
  25. > but Watcom C++ 10.0 can compile it.
  26. > it is strange, both BC++4.x and Visual C++4.0 are newer that
  27. > Watcom C++ 10.0, but why can't they compile it?
  28.  
  29. Like for all new language features you will have problems with
  30. older compilers (wasn't BC 5.x already released ?) that do not
  31. support these features.
  32.  
  33.     Enno
  34.